93a8426a8658231b5401f38e04550281c16c386c,src/main/java/water/fvec/Vec.java,Vec,set,#number#number#,669

Before Change


  /** Write element the slow way, as a float.  Float.NaN will be treated as
   *  a set of a missing element.
   *  */
  public final float  set( long i, float  f) {return chunkForRow(i).set(i,f);}
  /** Set the element as missing the slow way.  */
  public final boolean setNA( long i ) { return chunkForRow(i).setNA(i);}

After Change


  /** Write element the VERY slow way, as a double.  Double.NaN will be treated as
   *  a set of a missing element.
   *  */
  public final double set( long i, double d) {
    Chunk ck = chunkForRow(i);
    double ret = ck.set(i,d);
    ck.close(ck.cidx(), null); //slow to do this for every set -> use Writer if writing many values
    return ret;
  }
  /** Write element the VERY slow way, as a float.  Float.NaN will be treated as
   *  a set of a missing element.